package com.hbyj.object;

import com.hbyj.hbm.vo.Departments;

public class FlexiGridRow<T extends Object> {
	private int id;
	private T cell;
	
	@SuppressWarnings("unchecked")
	public FlexiGridRow(Object hiberObj,IFlexiGridable dataObj){
		 dataObj.initObjectByHibernateClass(hiberObj);
		 this.cell = (T)dataObj;
	}
	
	public void setCell(T cell) {
		this.cell = cell;
	}
	public T getCell() {
		return cell;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}
}
